<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Offer extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
	}
	
	public function index()
	{
		$this->load->model('offers');
		
		$offers = $this->offers->get_all();
		$this->template->set('offers', $offers);
		
		$this->template->render();
	}
}

/* End of file offers.php */
/* Location: ./application/controllers/offers.php */
